<template>
  <div class="undone">
    <a-result status="error" title="404" sub-title="页面不存在或您没有权限访问">
      <template #extra>
        <c-button ghost type="primary" @click="backToHome">返回首页</c-button>
      </template>
    </a-result>
  </div>
</template>

<script>
export default {
  methods: {
    backToHome() {
      this.$router.push({ name: "home" });
    }
  }
};
</script>

<style lang="scss" scoped>
.undone {
  text-align: center;
}
</style>
